import Vue from 'vue'
import App from './App'
// 引入全局TuniaoUI
import TuniaoUI from 'uni_modules/tuniao-ui'
// 引入store
import store from './store'

import share from './utils/share.js'

import navIndexButton from '@/components/nav-index-button'

Vue.use(TuniaoUI)
Vue.config.productionTip = false
Vue.prototype.$store = store

App.mpType = 'app'
const app = new Vue({
	store,
  ...App
})
app.$mount()


Vue.mixin(share)

// 注册全局组件
Vue.component('nav-index-button',navIndexButton)